#ifndef TODOBOATLIST_H
#define TODOBOATLIST_H
#include <string>
#include "Point.h"
#include <QList>
#include <iostream>
using namespace std;

struct NextBoatToDo {
	NextBoatToDo(const string& _type, const string& _name, int _mode, int _maxMode)
	: type(_type), name(_name), mode(_mode), maxMode(_maxMode) { }
	string type;
	string name;
	int mode;
	int maxMode;
};

class ToDoBoatList {
	public:
		ToDoBoatList();
		
		NextBoatToDo* getLast();
		void add(NextBoatToDo*);
		void removeLast();
		void clear();
		bool isEmpty();
	private:
		QList<NextBoatToDo*> toDoList;
};

#endif
